package com.hezhi.project.module.classes.domain;

import com.hezhi.framework.web.domain.BaseEntity;
import com.hezhi.project.module.grade.domain.Grade;
import com.hezhi.project.module.teacher.domain.Teacher;

/**
 * 班级表 db_classes
 * 
 * @author hezhi
 * @date 2018-08-06
 */
public class Classes extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 班级编号 */
	private String classNumber;
	/** 年级编号 */
	private String gradeNumber;
	/** 班级名称 */
	private String name;
	/** 入学年份 */
	private Integer joinYear;
	/** 班主任 */
	private String headmasterId;
	/** 在籍学生数 */
	private Integer studentNumber;
	/**
	 * 年级对象
	 */
	private Grade grade;
	private Teacher teacher;

	/**
	 * 设置：班级编号
	 */
	public void setClassNumber(String classNumber) 
	{
		this.classNumber = classNumber;
	}
	
	/**
	 * 获取：班级编号
	 */
	public String getClassNumber() 
	{
		return classNumber;
	}
	
	/**
	 * 设置：年级编号
	 */
	public void setGradeNumber(String gradeNumber) 
	{
		this.gradeNumber = gradeNumber;
	}
	
	/**
	 * 获取：年级编号
	 */
	public String getGradeNumber() 
	{
		return gradeNumber;
	}
	
	/**
	 * 设置：班级名称
	 */
	public void setName(String name) 
	{
		this.name = name;
	}
	
	/**
	 * 获取：班级名称
	 */
	public String getName() 
	{
		return name;
	}
	
	/**
	 * 设置：入学年份
	 */
	public void setJoinYear(Integer joinYear) 
	{
		this.joinYear = joinYear;
	}
	
	/**
	 * 获取：入学年份
	 */
	public Integer getJoinYear() 
	{
		return joinYear;
	}
	
	/**
	 * 设置：班主任
	 */
	public void setHeadmasterId(String headmasterId) 
	{
		this.headmasterId = headmasterId;
	}
	
	/**
	 * 获取：班主任
	 */
	public String getHeadmasterId() 
	{
		return headmasterId;
	}
	
	/**
	 * 设置：在籍学生数
	 */
	public void setStudentNumber(Integer studentNumber) 
	{
		this.studentNumber = studentNumber;
	}
	
	/**
	 * 获取：在籍学生数
	 */
	public Integer getStudentNumber() 
	{
		return studentNumber;
	}

	public Grade getGrade() {
		return grade;
	}

	public void setGrade(Grade grade) {
		this.grade = grade;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
}
